package com.example.clxy.result.business.PageResult;

import com.example.clxy.result.Page;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author Hsieh
 * @title: QuestionPageResult
 * @projectName clxy
 * @description: 题目分页
 * @date 2020/8/520:16
 */
public class QuestionPageResult extends Page {

        private String questionid;

        private String content;

        private String achoice;

        private String bchoice;

        private String cchoice;

        private String dchoice;

        private String answer;

        private String flag;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date createdTime;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date updatedTime;



        public String getQuestionid() {
            return questionid;
        }

        public void setQuestionid(String questionid) {
            this.questionid = questionid == null ? null : questionid.trim();
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content == null ? null : content.trim();
        }

        public String getAchoice() {
            return achoice;
        }

        public void setAchoice(String achoice) {
            this.achoice = achoice == null ? null : achoice.trim();
        }

        public String getBchoice() {
            return bchoice;
        }

        public void setBchoice(String bchoice) {
            this.bchoice = bchoice == null ? null : bchoice.trim();
        }

        public String getCchoice() {
            return cchoice;
        }

        public void setCchoice(String cchoice) {
            this.cchoice = cchoice == null ? null : cchoice.trim();
        }

        public String getDchoice() {
            return dchoice;
        }

        public void setDchoice(String dchoice) {
            this.dchoice = dchoice == null ? null : dchoice.trim();
        }

        public String getAnswer() {
            return answer;
        }

        public void setAnswer(String answer) {
            this.answer = answer == null ? null : answer.trim();
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag == null ? null : flag.trim();
        }

        public Date getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(Date createdTime) {
            this.createdTime = createdTime;
        }

        public Date getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(Date updatedTime) {
            this.updatedTime = updatedTime;
        }

}
